Type.registerNamespace("BM");

BM.SetOptional = function(determinant, actionInfo) {
    BM.SetOptional.initializeBase(this, [determinant, actionInfo]);
}

BM.SetOptional.prototype = {
    run: function() {
        if (this.getItem() == null) return;
        this.getItem().setOptional();
    }
}

BM.SetOptional.registerClass("BM.SetOptional", BM.Action);

